package org.kzwl.entity.app;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cu_book_category")
public class BookCategory {

  /**
   * 自增
   */
  @TableId(value = "cu_book_category_id",type = IdType.AUTO)
  private Integer cuBookCategoryId;

  /**
   * 分类名称
   */
  @TableField("cu_book_category_name")
  private String cuBookCategoryName;


  /**
   * 书籍id
   */
  @TableField("cu_book_id")
  private Integer cuBookId;

  /**
   * 父级分类
   */
  @TableField("cu_book_category_parent")
  private Integer cuBookCategoryParent;

  /**
   * 不知道是啥
   */
  @TableField("cu_book_category_text")
  private String cuBookCategoryText;

  /**
   * 分类对应页数
   */
  @TableField("cu_book_continue")
  private Integer cuBookContinue;

}
